﻿@model ShenLanCMS.Models.Post

@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Post</legend>

    <div class="display-label">AddUserID</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.AddUserID)
    </div>

    <div class="display-label">Title</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Title)
    </div>

    <div class="display-label">Tag</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Tag)
    </div>

    <div class="display-label">Keyword</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Keyword)
    </div>

    <div class="display-label">Description</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>

    <div class="display-label">PostTypeID</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PostTypeID)
    </div>

    <div class="display-label">PubTime</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PubTime)
    </div>

    <div class="display-label">Content</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Content)
    </div>

    <div class="display-label">DigGood</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DigGood)
    </div>

    <div class="display-label">DigBad</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DigBad)
    </div>

    <div class="display-label">Click</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Click)
    </div>

    <div class="display-label">FileName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.FileName)
    </div>

    <div class="display-label">Weight</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Weight)
    </div>

    <div class="display-label">Status</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Status)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
